-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add understanding Java workshop #302
Conversation
This is intended to be completable by someone with no Java experience. The specific issues that need to be diagnosed (which hopefully volunteers can guide through based on error messages even without knowing Java) are: * String.split takes a regex String, not a literal String to split on. This feels like a reasonable debugging/documentation thing to identify. * Identifying that `InetAddress.getAllByName` exists to resolve DNS names. This is easily Googled. * Identifying that `InetAddress.getAllByName` throws a checked exception, so requires either a `try`-`catch` or a `throws`. This requires interpreting an error message: "error: unreported exception UnknownHostException; must be caught or declared to be thrown" and turning that into action. * Identifying that `InetAddress.getHostAddress` gets a string representation of an IP address. This feels like a reasonable documentation thing to identify.
✅ Deploy Preview for cyf-workshop ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-workshops canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea and I like it a lot. I think for this to be a workshop you need to create some activities and direct them clearly. How much time should people spend on this? Does it need a facilitator? What level should the participants be at in their learning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I've added some extra points you can take or leave.
This is intended to be completable by someone with no Java experience.
The specific issues that need to be diagnosed (which hopefully volunteers can guide through based on error messages even without knowing Java) are:
InetAddress.getAllByName
exists to resolve DNS names. This is easily Googled.InetAddress.getAllByName
throws a checked exception, so requires either atry
-catch
or athrows
. This requires interpreting an error message: "error: unreported exception UnknownHostException; must be caught or declared to be thrown" and turning that into action.InetAddress.getHostAddress
gets a string representation of an IP address. This feels like a reasonable documentation thing to identify.Fixes CodeYourFuture/curriculum#1327